package com.app.lcl.entities;

import java.util.Set;

public class Laboratory {
	private Integer code;
	private String owner;
	
	//存储多个学生的引用
	private Set<Student> studentSet;
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getOwner() {
		return owner;
	}
	public void setOwner(String owner) {
		this.owner = owner;
	}
	public Set<Student> getStudentSet() {
		return studentSet;
	}
	public void setStudentSet(Set<Student> studentSet) {
		this.studentSet = studentSet;
	}
	@Override
	public String toString() {
		return "Laboratory [code=" + code + ", owner=" + owner + "]";
	}
	public Laboratory() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Laboratory(Integer code, String owner) {
		super();
		this.code = code;
		this.owner = owner;
	}
	
	
}
